Mk46 Mod0
---------------------------
Mk46 Mod0 model convert from Medal of Honor 2010 to GTAIV by cjisntgay

first you need a sparkIV AND an openIV AND a gta ivaud 1.1.5

Install the model:

open sparkIV or openIV, browse to your GTAIV main folder/pc/models/cdimages/weapons.img, import w_m4.wdr and w_m4.wtd then save!

Install weaponinfo.xml:  your GTAIV main folder/common/data

Install animgrp.dat, default.ide:  your GTAIV main folder/common/data(SKIP IT IF YOU DON'T WANT TO USE THE NEW ANIM)

Install gun@mk46.wad:Use OpenIV(SparkIV can't do this)browse to GTAIV main folder/pc/anim/anim.img, add gun@mk46.wad then close.(SKIP IT IF YOU DON'T WANT TO USE THE NEW ANIM)

Install sound:

1. download gta ivaud 1.1.5(http://www.gta4-mods.com/tools/gta-ivaud-v115-f3996)

2. open sparkIV, browse to GTAIV main folder/pc/audio/sfx/resident.rpf (select resident in the left-side first)

3. export WEAPONS.ivaud to the desktop

4. open gta ivaud 1.1.5, and open the WEAPONS.ivaud

5. search and replace M4_SHOT1_L.wav M4_SHOT1_R.wav and M4_SHOT2_A - M4_SHOT2_D.wav, scroll down to: number #173-178

6. SAVE it, and import WEAPONS.ivaud again with sparkIV(openIV can't do this)


+++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++
THE information you have to replace in weaponinfo.xml, you'll find these words in your weaponinfo.xml
-------------------------------------------------
<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="65.0" weaponrange="70.0" clipsize="30" ammomax="600" timebetweenshots="133">
			<damage base="30" networkplayermod="2.5" networkpedmod="1.25"/>
			<physics force="75.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.5">
				<offset         x="0.14" y="1.0" z="0.55"/>
				<crouchedoffset x="0.08"  y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="600000" ammoonstreet="80"/>

			<controller>
        <rumble duration="90" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
				<flag>2HANDED</flag>
			</flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@ak47">
				<rates firerate="1.2" blindfirerate="1.2"/>
			</anim>

			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>

==========================================================
then copy and change to these words(IF YOU USE THE NEW ANIM)(gun@mk46.wad)

<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="120.0" weaponrange="2600.0" clipsize="100" ammomax="600" timebetweenshots="66">
			<damage base="325" networkplayermod="2.0" networkpedmod="1.0"/>
			<physics force="195.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.5">
				<offset x="0.16" y="1.0" z="0.55"/>
				<crouchedoffset x="0.1" y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="480000" ammoonstreet="80"/>

			<controller>
				<rumble duration="90" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>2HANDED</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
                        </flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@mk46">
				<rates firerate="0.8" blindfirerate="2.0"/>
			</anim>

			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>
-----------------------------------------------------------------------
ot hese(IF YOU USE THE DEFAULT ANIM)(gun@ak47.wad)
<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="120.0" weaponrange="2600.0" clipsize="100" ammomax="600" timebetweenshots="66">
			<damage base="325" networkplayermod="2.0" networkpedmod="1.0"/>
			<physics force="195.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.5">
				<offset x="0.16" y="1.0" z="0.55"/>
				<crouchedoffset x="0.1" y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="480000" ammoonstreet="80"/>

			<controller>
				<rumble duration="90" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>2HANDED</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
                        </flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@ak47">
				<rates firerate="2.0" blindfirerate="2.0"/>
			</anim>

			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>